<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.css">
</head>
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.css">-->
<!--<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.js"></script>-->
<body>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.js"></script>
<div class="ui container">
    <table class="ui celled attached table" style="margin-top: 40px !important;">
        <thead>
        <tr>
            <th>id</th>
            <th>memberName</th>
            <th>memberPhone</th>
            <th>memberAccount</th>
            <th>memberEmail</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="entities:${page} ">
            <td th:text=" ${entities.id} "></td>
            <td th:text=" ${entities.memberName} "></td>
            <td th:text=" ${entities.memberPhone} "></td>
            <td th:text=" ${entities.memberAccount} "></td>
            <td th:text=" ${entities.memberEmail} "></td>
            <td>
                <a th:href="@{/edit/{id}(id=${entities.id})}" class="ui button mini pink">编辑</a>
                <a th:href="@{/delete/{id}(id=${entities.id})}" class="ui button mini teal">删除</a>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
